@import '~styles/config.scss';

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 20px;
}
.userBox {
    display: flex;

    .icon {
        flex         : none;
        // object-fit: cover;
        width        : 40px;
        height       : 40px;
        display      : block;
        border-radius: 2px;
        overflow     : hidden;
        border       : 1px solid $--border-color-extra-light;
        margin-left: 10px;
        margin-bottom: 5px;
        img {
            width : 100%;
            height: 100%;
        }
    }

    .text {
        flex: auto;
        padding-left:14px;
        display: flex;
        align-items: center;
        .name {

            display           : -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow          : hidden;
            height            : 30px;
            font-size: 16px;
            line-height       : 30px;
            color             : $--color-text-primary;
            font-weight       : bold;
            margin-right: 20px;
        }
        .id{
            line-height       : 30px;
            margin-right: 20px;
        }
    }
}


.right {
    margin-left: 10px;
    
    flex: auto;
    overflow  : hidden;
    overflow-y: auto;
    
    
    border     : 1px solid $--border-color-lighter;

    .hh {
        position: sticky;
        top:0px; left:0px; width:100%; box-sizing: border-box;
        padding         : 10px;
        display         : flex;
        background-color: $--background-color-base;
        border-bottom   : 1px solid $--border-color-lighter;

        .icon {
            width        : 28px;
            height       : 28px;
            border-radius: 100%;
            border       : 1px solid $--border-color-extra-light;
            overflow     : hidden;
        }

        .text {
            flex       : auto;
            padding    : 0px 0px 0px 10px;
            display    : flex;
            line-height: 30px;

            .name {
                font-size    : 14px;
                flex         : auto;
                font-weight  : bold;
                overflow     : hidden;
                text-overflow: ellipsis;
                white-space  : nowrap;
            }

            .time {
                font-size  : 12px;
                margin-left: 10px;
                color      : $--color-text-secondary;
            }



        }

    }

    .mm {

        padding         : 0px 10px;

        .sub {
            font-size : 12px;
            display   : flex;
            padding   : 10px 0px;
            border-top: 1px dashed $--border-color-lighter;

            &:first-child {
                border-width: 0px;
            }

            .lable {
                color: $--color-text-secondary;
                flex : none;
                width: 70px;
            }

            .value {
                padding-left: 10px;
                flex        : auto;
            }
        }
    }
}